package com.wanjia.bpsapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wanjia.bpsapi.pojo.dto.DistanceDto;
import com.wanjia.bpsapi.pojo.entity.Distance;

import java.util.List;

public interface IDistanceService extends IService<Distance> {

    Distance getDistance(Long baseId, Long clientId);

    int updateDis(Distance distance);

    /*List<Distance> getClientIdDis(int uid);*/

    List<DistanceDto> getlist(Long baseId,Long clientId,Integer pageNo, Integer pageSize);

    Long countlist(Long baseId,Long clientId);
}
